package com.account.book.service;

import com.account.book.request.UserApplyBookReqVo;
import com.account.book.response.ApprovalInfoResVo;

import java.util.List;

/**
 * @author liang-hw
 * @className ApprovalInfoService
 * @description 审批记录信息
 * @date 2024/01/19 17:02:13
 */
public interface ApprovalInfoService {
    /**
     * @param
     * @return
     * @author liang-hw
     * @description 新增审批记录信息
     * @date 2024/01/19 17:21:51
     */
    void addApprovalInfo(UserApplyBookReqVo userApplyBookReqVo, String userId, Integer status);

    /**
     * @param @param userId
     * @return @return {@link List }<{@link ApprovalInfoResVo }>
     * @author liang-hw
     * @description 查询审批信息
     * @date 2024/01/20 16:56:35
     */
    List<ApprovalInfoResVo> selectApprovalInfo(String userId);
}
